OPC Studio User's Guide and Reference
UAServerOnNetwork Constructor(Int64,String,String,IEnumerable<String>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UAServerOnNetwork Class > UAServerOnNetwork Constructor : UAServerOnNetwork Constructor(Int64,String,String,IEnumerable<String>)
A unique identifier for the record.
The name of the server specified in the mDNS announcement.
The URL of the discovery endpoint.
The Server capabilities supported by the Server.
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   ByVal recordId As Long, _
   ByVal serverName As String, _
   ByVal discoveryUrlString As String, _
   ByVal serverCapabilities As IEnumerable(Of String) _
)
'Usage
 
Dim recordId As Long
Dim serverName As String
Dim discoveryUrlString As String
Dim serverCapabilities As IEnumerable(Of String)
 
Dim instance As New UAServerOnNetwork(recordId, serverName, discoveryUrlString, serverCapabilities)

Parameters

recordId
A unique identifier for the record.
serverName
The name of the server specified in the mDNS announcement.
discoveryUrlString
The URL of the discovery endpoint.
serverCapabilities
The Server capabilities supported by the Server.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also